// pages/second/second.js
Page({
  tapParent() {
    console.log('---tapParent---tap---')
  },
  tapClild(e) {
    // console.log('---tapChild---',e.target.dataset)
    console.log('---tapChild---',e.currentTarget.dataset)
  },
  onLoad() {
    // console.log('index---onLoad---', app.globalData)
    console.log('second---onLoad---')
  },
  onShow() {
    console.log('second---onShow---')
  },
  onReady() {
    console.log('second---onReady---')
  },
  onHide() {
    console.log('second---onHide---')
  },
  onUnload() {
    console.log('second---onUnload---')
  },
  goToThird() {
    wx.navigateTo({
      // 注意点：前面/要写上，最后不要写后缀
      url: '/pages/third/third',
    })
  }
})